local xurui = fk.CreateSkill {
  name = "lingling__xurui",
}

Fk:loadTranslationTable{
  ["lingling__xurui"] = "蓄锐",
  [":lingling__xurui"] = "回合结束时，你可以摸一张牌。",
}

xurui:addEffect(fk.TurnEnd, {
  anim_type = "drawcard",
  can_trigger = function(self, event, target, player, data)
    return target == player and player:hasSkill(xurui.name)
  end,
  on_use = function(self, event, target, player, data)
    player:drawCards(1, xurui.name)
  end,
})

return xurui
